<%-- 
    Document   : bookresult
    Created on : May 5, 2008, 11:28:48 PM
    Author     : Administrator
--%>
<%@ page import="java.util.*" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h2>Book successiful</h2>
        number of passengers:
        <%
            Integer temp = (Integer) session.getAttribute("number");
            int number = temp.intValue();
        %>
        <%= number %>
        
        <%--
            ArrayList<String> tmp = (ArrayList<String>) request.getAttribute("names");
            Iterator it = tmp.iterator();
            while( it.hasNext()){
                out.print(it.next() + "<br>" );
            }
            
            ArrayList<String> tmp2 = (ArrayList<String>) request.getAttribute("numbers");
            Iterator it2 = tmp2.iterator();
            while( it2.hasNext()){
                out.print(it2.next() + "<br>" );
            }
        
        --%>
    </body>
</html>
